class RefImp{
    #_value

    get value() {
        return this._value;
    }

    set value(value) {
        this._value = value;
    }
}

let refImp = new RefImp();
refImp.value = "张"
Object.defineProperty(refImp, "value", {
    get() {
        return refImp.value
    }
})
console.log()